<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ROSS: core/instrumentation/st-model-data.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <a href="https://github.com/ROSS-org/ROSS">
   <div id="projectname">ROSS
   </div>
   </a>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_af18cf245e3394ab3b436135935cfd6e.html">core</a></li><li class="navelem"><a class="el" href="dir_e8784b64d701200ce05334d46c95fd71.html">instrumentation</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">st-model-data.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="ross_8h_source.html">ross.h</a>&gt;</code><br/>
</div>
<p><a href="st-model-data_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a6c7477ccc6232c784f1eea41de549884"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="st-model-data_8c.html#a6c7477ccc6232c784f1eea41de549884">st_model_setup_types</a> (<a class="el" href="structtw__lp.html">tw_lp</a> *lp)</td></tr>
<tr class="separator:a6c7477ccc6232c784f1eea41de549884"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10e1bfd2a0fdbdd943149bb4f1cd50d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="st-model-data_8c.html#a10e1bfd2a0fdbdd943149bb4f1cd50d9">st_model_settype</a> (<a class="el" href="ross_8h.html#a911515dff2fb79886a16ed44df5f9d20">tw_lpid</a> i, <a class="el" href="structst__model__types.html">st_model_types</a> *<a class="el" href="phold_8c.html#ac09f86ccbbaef6a9a7241cd6606b8ac6">model_types</a>)</td></tr>
<tr class="separator:a10e1bfd2a0fdbdd943149bb4f1cd50d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a973d9b1e0d445f4df76b97d8f829798d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="st-model-data_8c.html#a973d9b1e0d445f4df76b97d8f829798d">st_collect_model_data</a> (<a class="el" href="structtw__pe.html">tw_pe</a> *<a class="el" href="avl__tree_8c.html#ac4c639748d4d5a271d6c54a18f614605">pe</a>, double current_rt, int stats_type)</td></tr>
<tr class="separator:a973d9b1e0d445f4df76b97d8f829798d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ad315c9285e166158c19e26b0f238ed25"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structst__model__types.html">st_model_types</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="st-model-data_8c.html#ad315c9285e166158c19e26b0f238ed25">g_st_model_types</a> = NULL</td></tr>
<tr class="separator:ad315c9285e166158c19e26b0f238ed25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e028cf673f996a2681acd72b0553157"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="st-model-data_8c.html#a4e028cf673f996a2681acd72b0553157">model_type_warned</a> = 0</td></tr>
<tr class="separator:a4e028cf673f996a2681acd72b0553157"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a973d9b1e0d445f4df76b97d8f829798d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void st_collect_model_data </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__pe.html">tw_pe</a> *&#160;</td>
          <td class="paramname"><em>pe</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>current_rt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>stats_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="st-model-data_8c_source.html#l00045">45</a> of file <a class="el" href="st-model-data_8c_source.html">st-model-data.c</a>.</p>

<p>References <a class="el" href="ross-types_8h_source.html#l00315">tw_lp::cur_state</a>, <a class="el" href="st-instrumentation_8h_source.html#l00065">sample_metadata::flag</a>, <a class="el" href="st-instrumentation_8c_source.html#l00009">g_st_disable_out</a>, <a class="el" href="ross-global_8c_source.html#l00026">g_tw_lp</a>, <a class="el" href="ross-global_8c_source.html#l00088">g_tw_mynode</a>, <a class="el" href="ross-global_8c_source.html#l00023">g_tw_nlp</a>, <a class="el" href="ross-global_8c_source.html#l00018">g_tw_synchronization_protocol</a>, <a class="el" href="ross-types_8h_source.html#l00306">tw_lp::gid</a>, <a class="el" href="st-instrumentation_8h_source.html#l00242">model_metadata::gvt</a>, <a class="el" href="ross-types_8h_source.html#l00403">tw_pe::GVT</a>, <a class="el" href="ross-types_8h_source.html#l00341">tw_kp::id</a>, <a class="el" href="ross-types_8h_source.html#l00313">tw_lp::kp</a>, <a class="el" href="st-instrumentation_8h_source.html#l00240">model_metadata::kpid</a>, <a class="el" href="st-instrumentation_8h_source.html#l00241">model_metadata::lpid</a>, <a class="el" href="st-instrumentation_8h_source.html#l00045">MODEL_COL</a>, <a class="el" href="st-instrumentation_8h_source.html#l00223">st_model_types::model_stat_fn</a>, <a class="el" href="st-instrumentation_8h_source.html#l00244">model_metadata::model_sz</a>, <a class="el" href="st-instrumentation_8h_source.html#l00053">MODEL_TYPE</a>, <a class="el" href="ross-types_8h_source.html#l00322">tw_lp::model_types</a>, <a class="el" href="st-instrumentation_8h_source.html#l00224">st_model_types::mstat_sz</a>, <a class="el" href="st-instrumentation_8h_source.html#l00239">model_metadata::peid</a>, <a class="el" href="st-instrumentation_8h_source.html#l00068">sample_metadata::real_time</a>, <a class="el" href="ross-types_8h_source.html#l00151">tw_statistics::s_stat_comp</a>, <a class="el" href="st-instrumentation_8h_source.html#l00066">sample_metadata::sample_sz</a>, <a class="el" href="st-stats-buffer_8c_source.html#l00013">seq_model</a>, <a class="el" href="ross-types_8h_source.html#l00028">SEQUENTIAL</a>, <a class="el" href="st-stats-buffer_8c_source.html#l00100">st_buffer_push()</a>, <a class="el" href="ross-types_8h_source.html#l00415">tw_pe::stats</a>, <a class="el" href="st-instrumentation_8h_source.html#l00243">model_metadata::stats_type</a>, <a class="el" href="st-instrumentation_8h_source.html#l00067">sample_metadata::ts</a>, <a class="el" href="aarch64_8h_source.html#l00006">tw_clock_read()</a>, <a class="el" href="ross-kernel-inline_8h_source.html#l00080">tw_now()</a>, and <a class="el" href="ross_8h_source.html#l00153">TW_STIME_DBL</a>.</p>

<p>Referenced by <a class="el" href="mpi__allreduce_8c_source.html#l00102">tw_gvt_step2()</a>, <a class="el" href="tw-sched_8c_source.html#l00139">tw_sched_batch()</a>, <a class="el" href="tw-sched_8c_source.html#l00273">tw_sched_batch_realtime()</a>, <a class="el" href="tw-sched_8c_source.html#l00514">tw_scheduler_conservative()</a>, and <a class="el" href="tw-sched_8c_source.html#l00445">tw_scheduler_sequential()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="st-model-data_8c_a973d9b1e0d445f4df76b97d8f829798d_cgraph.png" border="0" usemap="#st-model-data_8c_a973d9b1e0d445f4df76b97d8f829798d_cgraph" alt=""/></div>
<map name="st-model-data_8c_a973d9b1e0d445f4df76b97d8f829798d_cgraph" id="st-model-data_8c_a973d9b1e0d445f4df76b97d8f829798d_cgraph">
<area shape="rect" id="node2" href="st-instrumentation_8h.html#a726b5dd5323e5d253e35d7fff164e6a5" title="st_buffer_push" alt="" coords="206,5,314,32"/><area shape="rect" id="node3" href="ross-kernel-inline_8h.html#a543cb527662432d81f65c327e5e5f1b0" title="tw_now" alt="" coords="363,31,429,57"/><area shape="rect" id="node4" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="207,107,313,133"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="st-model-data_8c_a973d9b1e0d445f4df76b97d8f829798d_icgraph.png" border="0" usemap="#st-model-data_8c_a973d9b1e0d445f4df76b97d8f829798d_icgraph" alt=""/></div>
<map name="st-model-data_8c_a973d9b1e0d445f4df76b97d8f829798d_icgraph" id="st-model-data_8c_a973d9b1e0d445f4df76b97d8f829798d_icgraph">
<area shape="rect" id="node2" href="ross-gvt_8h.html#a0d905b32b2567dd637c4926872622a70" title="tw_gvt_step2" alt="" coords="241,83,341,109"/><area shape="rect" id="node3" href="tw-sched_8c.html#ab3e02a0e976921bd18a11b8b6a00c110" title="tw_scheduler_conservative" alt="" coords="425,16,605,43"/><area shape="rect" id="node8" href="tw-sched_8c.html#ad27b3474d878cedfe1a1f993093d8715" title="tw_sched_batch" alt="" coords="232,32,349,59"/><area shape="rect" id="node9" href="tw-sched_8c.html#a1586b72acaa34a4ef8cc6aadabe9711e" title="tw_sched_batch_realtime" alt="" coords="205,133,376,160"/><area shape="rect" id="node10" href="tw-sched_8c.html#ae19668282cb4aab245e2382eea8f1967" title="tw_scheduler_sequential" alt="" coords="432,184,597,211"/><area shape="rect" id="node6" href="tw-sched_8c.html#a1ebf9585a3de4d61c5fc050c7600fcd8" title="tw_scheduler_optimistic" alt="" coords="433,67,596,93"/><area shape="rect" id="node7" href="tw-sched_8c.html#accfa49d85bd68f2c53d4a08cf64ace88" title="tw_scheduler_optimistic\l_realtime" alt="" coords="433,118,596,159"/><area shape="rect" id="node4" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="653,96,715,123"/><area shape="rect" id="node5" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="763,96,813,123"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a10e1bfd2a0fdbdd943149bb4f1cd50d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void st_model_settype </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ross_8h.html#a911515dff2fb79886a16ed44df5f9d20">tw_lpid</a>&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structst__model__types.html">st_model_types</a> *&#160;</td>
          <td class="paramname"><em>model_types</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="st-model-data_8c_source.html#l00025">25</a> of file <a class="el" href="st-model-data_8c_source.html">st-model-data.c</a>.</p>

<p>References <a class="el" href="ross-global_8c_source.html#l00026">g_tw_lp</a>, <a class="el" href="ross-global_8c_source.html#l00089">g_tw_masternode</a>, <a class="el" href="ross-global_8c_source.html#l00088">g_tw_mynode</a>, <a class="el" href="st-model-data_8c_source.html#l00004">model_type_warned</a>, <a class="el" href="phold_8c_source.html#l00142">model_types</a>, and <a class="el" href="ross-types_8h_source.html#l00322">tw_lp::model_types</a>.</p>

<p>Referenced by <a class="el" href="phold_8c_source.html#l00169">main()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="st-model-data_8c_a10e1bfd2a0fdbdd943149bb4f1cd50d9_icgraph.png" border="0" usemap="#st-model-data_8c_a10e1bfd2a0fdbdd943149bb4f1cd50d9_icgraph" alt=""/></div>
<map name="st-model-data_8c_a10e1bfd2a0fdbdd943149bb4f1cd50d9_icgraph" id="st-model-data_8c_a10e1bfd2a0fdbdd943149bb4f1cd50d9_icgraph">
<area shape="rect" id="node2" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="179,5,229,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a6c7477ccc6232c784f1eea41de549884"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void st_model_setup_types </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__lp.html">tw_lp</a> *&#160;</td>
          <td class="paramname"><em>lp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="st-model-data_8c_source.html#l00010">10</a> of file <a class="el" href="st-model-data_8c_source.html">st-model-data.c</a>.</p>

<p>References <a class="el" href="ross-global_8c_source.html#l00102">g_tw_lp_typemap</a>, <a class="el" href="ross-global_8c_source.html#l00089">g_tw_masternode</a>, <a class="el" href="ross-global_8c_source.html#l00088">g_tw_mynode</a>, <a class="el" href="ross-types_8h_source.html#l00306">tw_lp::gid</a>, <a class="el" href="st-model-data_8c_source.html#l00004">model_type_warned</a>, and <a class="el" href="ross-types_8h_source.html#l00322">tw_lp::model_types</a>.</p>

<p>Referenced by <a class="el" href="tw-lp_8c_source.html#l00011">tw_lp_setup_types()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="st-model-data_8c_a6c7477ccc6232c784f1eea41de549884_icgraph.png" border="0" usemap="#st-model-data_8c_a6c7477ccc6232c784f1eea41de549884_icgraph" alt=""/></div>
<map name="st-model-data_8c_a6c7477ccc6232c784f1eea41de549884_icgraph" id="st-model-data_8c_a6c7477ccc6232c784f1eea41de549884_icgraph">
<area shape="rect" id="node2" href="tw-lp_8c.html#a7bd8e21f4093b87f54e5054d8a028c88" title="tw_lp_setup_types" alt="" coords="208,5,339,32"/></map>
</div>
</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="ad315c9285e166158c19e26b0f238ed25"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structst__model__types.html">st_model_types</a>* g_st_model_types = NULL</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="st-model-data_8c_source.html#l00003">3</a> of file <a class="el" href="st-model-data_8c_source.html">st-model-data.c</a>.</p>

</div>
</div>
<a class="anchor" id="a4e028cf673f996a2681acd72b0553157"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int model_type_warned = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="st-model-data_8c_source.html#l00004">4</a> of file <a class="el" href="st-model-data_8c_source.html">st-model-data.c</a>.</p>

<p>Referenced by <a class="el" href="st-model-data_8c_source.html#l00025">st_model_settype()</a>, and <a class="el" href="st-model-data_8c_source.html#l00010">st_model_setup_types()</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
